package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.AddressBook;
import com.itheima.pojo.Result;
import org.springframework.web.bind.annotation.RequestBody;

public interface AddressBookService extends IService<AddressBook> {
    Result add(@RequestBody AddressBook addressBook);

    Result getlist();

    Result put(AddressBook addressBook);

    Result chaeckById(String id);

    Result setUpDefault(AddressBook addressBook);

    Result getDefault();

    Result delect(String ids);
}
